<template>
  <div id="app">
    <h2>app</h2>
    <router-link to="/A">to A</router-link> /
    <router-link to="/B">to B</router-link> /
    <router-link to="/C">to C</router-link> /
    <!--一级路由组件对应的占位-->
    <router-view></router-view>
  </div>
</template>

<script>
  export default {
    name: 'App'
  }
</script>

<style scoped>
  #app{
    text-align: center;
  }
</style>
